import Vue from 'vue'
import Router from 'vue-router'
const Index = resolve => require(['../components/Index'], resolve) 
const Share = resolve => require(['../components/Share'], resolve) 
const End = resolve => require(['../components/End'], resolve) 

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Index
    },{
      path:'/share',
      component:Share
    },{
      path:'/end',
      component:End
    }
  ]
})
